package com.thingsgrid.appmanager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 设备-应用联系表
 */
@Data
@TableName("application_bind_device")
public class ApplicationBindDevice implements Serializable {
	private static final long serialVersionUID = 1L;
	@TableId(value = "id" ,type = IdType.ID_WORKER_STR)
	private String id;
	private String deviceId;
	private String applicationId;
	private LocalDateTime upgradeTime;
	private String createUser;
	private LocalDateTime createTime;
	private Integer appState;
	private Integer upgradeType;
}
